﻿/*
	Date	: 10.10.11
	Author	: Jarryd
	Purpose	: Aircraft Data Manager.
	
 */
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace GoldAir_DesktopApp
{
    public partial class frmAircraft : Form
    {
        public frmAircraft()
        {
            InitializeComponent();
        }

        private void aircraftBindingNavigatorSaveItem_Click(object sender, EventArgs e)
        {
            this.Validate();
            this.aircraftBindingSource.EndEdit();
            this.tableAdapterManager.UpdateAll(this.aircraft_dbDataSet);

        }

        private void frmAircraft_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'aircraft_dbDataSet.aircraft' table. You can move, or remove it, as needed.
            this.aircraftTableAdapter.Fill(this.aircraft_dbDataSet.aircraft);

        }
    }
}
